package com.hh.service.service.pagemanagement;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hh.common.model.pagemanagement.Banner;
import com.hh.common.request.pagemanagement.BannerSaveRequest;
import com.hh.common.response.pagemanagement.BannerFrontResponse;
import com.hh.common.response.pagemanagement.BannerResponse;
import com.hh.common.response.pagemanagement.BannerTabsHeader;

import java.util.List;

public interface BannerService extends IService<Banner> {

    List<BannerResponse> getAdminList(Integer position);

    Boolean save(BannerSaveRequest request);

    Banner getInfo(Integer id);

    Boolean update(BannerSaveRequest request);

    boolean display(Integer id);

    boolean hide(Integer id);

    List<BannerFrontResponse> getList(Integer position, Integer limit);

    boolean deleteBanner(Integer id);

    List<BannerTabsHeader> getTabsHeader();
}
